﻿using System.Web;
using System.Web.Optimization;

namespace DuocThaiBinh
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/bootstrapgeneral").Include(
                        "~/Content/themeadmin/bower_components/jquery/dist/jquery.js",
                        "~/Content/themeadmin/bower_components/bootstrap/dist/js/bootstrap.js",
                        "~/Content/themeadmin/bower_components/metisMenu/dist/metisMenu.js",
                        "~/Content/themeadmin/dist/js/sb-admin-2.js"));

            bundles.Add(new ScriptBundle("~/bundles/bootstraptablejs").Include(
                        "~/Content/themeadmin/bower_components/DataTables/media/js/jquery.dataTables.js",
                        "~/Content/themeadmin/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.js"
                            ));
            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.formatCurrency-1.4.0.js",
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/bundles/bootstraptablecss").Include(
                        "~/Content/themeadmin/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css",
                        "~/Content/themeadmin/bower_components/datatables-responsive/css/dataTables.responsive.css"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/Content/themeadmin/bower_components/bootstrap/dist/css/bootstrap.css",
                "~/Content/themeadmin/bower_components/metisMenu/dist/metisMenu.css",
                "~/Content/themeadmin/dist/css/timeline.css",
                "~/Content/themeadmin/dist/css/sb-admin-2.css",
                "~/Content/themeadmin/bower_components/morrisjs/morris.css",
                "~/Content/themeadmin/bower_components/font-awesome/css/font-awesome.css",
                "~/Content/cocstyle.css"));
        }
    }
}